//
//  UIImage+www.m
//  Weibo2
//
//  Created by Gate on 15/11/4.
//  Copyright © 2015年 Gate. All rights reserved.
//

#import "UIImage+www.h"

@implementation UIImage (www)


+(UIImage *)resizedImagewithName:(NSString *)name{
    
    UIImage *image = [UIImage imageNamed:name];
    return [image stretchableImageWithLeftCapWidth:image.size.width*0.5 topCapHeight:image.size.height*0.5];
    
}

@end
